<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
<title>Compute Library: NormalizationLayerInfo Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Compute Library
   &#160;<span id="projectnumber">18.05</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.xhtml"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.xhtml"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.xhtml"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.xhtml"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="inherits.xhtml"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.xhtml"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classarm__compute_1_1_normalization_layer_info.xhtml','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">NormalizationLayerInfo Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Normalization Layer Information class.  
 <a href="classarm__compute_1_1_normalization_layer_info.xhtml#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a305c2145d26b998641402a9fec76f0bb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_normalization_layer_info.xhtml#a305c2145d26b998641402a9fec76f0bb">NormalizationLayerInfo</a> (<a class="el" href="namespacearm__compute.xhtml#ad4bb8dabdbf8ad75e34220cc666b59ca">NormType</a> <a class="el" href="classarm__compute_1_1_normalization_layer_info.xhtml#a39f6445d0b790034f0d8fac36f2eb7f5">type</a>, uint32_t <a class="el" href="classarm__compute_1_1_normalization_layer_info.xhtml#a0549be3702c05e6ec1ada69a6d08e349">norm_size</a>=5, float <a class="el" href="classarm__compute_1_1_normalization_layer_info.xhtml#a4ee7f04c477d0e6a2a3609c24a8815b8">alpha</a>=0.0001f, float beta=0.5f, float kappa=1.f, bool is_scaled=true)</td></tr>
<tr class="memdesc:a305c2145d26b998641402a9fec76f0bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Constructor.  <a href="#a305c2145d26b998641402a9fec76f0bb">More...</a><br /></td></tr>
<tr class="separator:a305c2145d26b998641402a9fec76f0bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39f6445d0b790034f0d8fac36f2eb7f5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearm__compute.xhtml#ad4bb8dabdbf8ad75e34220cc666b59ca">NormType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_normalization_layer_info.xhtml#a39f6445d0b790034f0d8fac36f2eb7f5">type</a> () const </td></tr>
<tr class="memdesc:a39f6445d0b790034f0d8fac36f2eb7f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the normalization type.  <a href="#a39f6445d0b790034f0d8fac36f2eb7f5">More...</a><br /></td></tr>
<tr class="separator:a39f6445d0b790034f0d8fac36f2eb7f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0549be3702c05e6ec1ada69a6d08e349"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_normalization_layer_info.xhtml#a0549be3702c05e6ec1ada69a6d08e349">norm_size</a> () const </td></tr>
<tr class="memdesc:a0549be3702c05e6ec1ada69a6d08e349"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the normalization size.  <a href="#a0549be3702c05e6ec1ada69a6d08e349">More...</a><br /></td></tr>
<tr class="separator:a0549be3702c05e6ec1ada69a6d08e349"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ee7f04c477d0e6a2a3609c24a8815b8"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_normalization_layer_info.xhtml#a4ee7f04c477d0e6a2a3609c24a8815b8">alpha</a> () const </td></tr>
<tr class="memdesc:a4ee7f04c477d0e6a2a3609c24a8815b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the alpha value.  <a href="#a4ee7f04c477d0e6a2a3609c24a8815b8">More...</a><br /></td></tr>
<tr class="separator:a4ee7f04c477d0e6a2a3609c24a8815b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55fe6a30749e41ce31c2bb969a5aa25e"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_normalization_layer_info.xhtml#a55fe6a30749e41ce31c2bb969a5aa25e">beta</a> () const </td></tr>
<tr class="memdesc:a55fe6a30749e41ce31c2bb969a5aa25e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the beta value.  <a href="#a55fe6a30749e41ce31c2bb969a5aa25e">More...</a><br /></td></tr>
<tr class="separator:a55fe6a30749e41ce31c2bb969a5aa25e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4df91dc0be2437a7d1bfd6d8df72baa8"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_normalization_layer_info.xhtml#a4df91dc0be2437a7d1bfd6d8df72baa8">kappa</a> () const </td></tr>
<tr class="memdesc:a4df91dc0be2437a7d1bfd6d8df72baa8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the kappa value.  <a href="#a4df91dc0be2437a7d1bfd6d8df72baa8">More...</a><br /></td></tr>
<tr class="separator:a4df91dc0be2437a7d1bfd6d8df72baa8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada140e474f12d6849dae228b32dac8b7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_normalization_layer_info.xhtml#ada140e474f12d6849dae228b32dac8b7">is_cross_map</a> () const </td></tr>
<tr class="memdesc:ada140e474f12d6849dae228b32dac8b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if normalization is cross map.  <a href="#ada140e474f12d6849dae228b32dac8b7">More...</a><br /></td></tr>
<tr class="separator:ada140e474f12d6849dae228b32dac8b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15441073dba4931426c1b7730d8bd67b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_normalization_layer_info.xhtml#a15441073dba4931426c1b7730d8bd67b">is_in_map</a> () const </td></tr>
<tr class="memdesc:a15441073dba4931426c1b7730d8bd67b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if normalization is not cross map.  <a href="#a15441073dba4931426c1b7730d8bd67b">More...</a><br /></td></tr>
<tr class="separator:a15441073dba4931426c1b7730d8bd67b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f541aab23799f6c61d9c8d7ca9fe15c"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_normalization_layer_info.xhtml#a6f541aab23799f6c61d9c8d7ca9fe15c">scale_coeff</a> () const </td></tr>
<tr class="memdesc:a6f541aab23799f6c61d9c8d7ca9fe15c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the scaling factor of the normalization function.  <a href="#a6f541aab23799f6c61d9c8d7ca9fe15c">More...</a><br /></td></tr>
<tr class="separator:a6f541aab23799f6c61d9c8d7ca9fe15c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Normalization Layer Information class. </p>

<p>Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00869">869</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a305c2145d26b998641402a9fec76f0bb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1_normalization_layer_info.xhtml">NormalizationLayerInfo</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#ad4bb8dabdbf8ad75e34220cc666b59ca">NormType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>norm_size</em> = <code>5</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>alpha</em> = <code>0.0001f</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>beta</em> = <code>0.5f</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>kappa</em> = <code>1.f</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>is_scaled</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">type</td><td>The normalization type. Can be <a class="el" href="namespacearm__compute.xhtml#ad4bb8dabdbf8ad75e34220cc666b59caaca2475ab7883ebb9f125241141896190">NormType::IN_MAP_1D</a>, <a class="el" href="namespacearm__compute.xhtml#ad4bb8dabdbf8ad75e34220cc666b59caa6ff8bd96743aae9fd283cd822b84278e">NormType::IN_MAP_2D</a> or <a class="el" href="namespacearm__compute.xhtml#ad4bb8dabdbf8ad75e34220cc666b59caa980fef040549733973683b1a868f96e5">NORM_TYPE::CROSS_MAP</a> </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">norm_size</td><td>The normalization size is the number of elements to normalize across. Defaults to 5. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">alpha</td><td>(Optional) Alpha parameter used by normalization equation. Defaults to 0.0001. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">beta</td><td>(Optional) Beta parameter used by normalization equation. Defaults to 0.5. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">kappa</td><td>(Optional) Kappa parameter used by [Krichevksy 2012] Across Channel Local Brightness Normalization equation. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">is_scaled</td><td>(Optional) Boolean that specifies if alpha will be scaled by the normalization size or not. Should be false to follow [Krichevksy 2012]. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00882">882</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00883"></a><span class="lineno">  883</span>&#160;        : _type(<a class="code" href="classarm__compute_1_1_normalization_layer_info.xhtml#a39f6445d0b790034f0d8fac36f2eb7f5">type</a>), _norm_size(<a class="code" href="classarm__compute_1_1_normalization_layer_info.xhtml#a0549be3702c05e6ec1ada69a6d08e349">norm_size</a>), _alpha(<a class="code" href="classarm__compute_1_1_normalization_layer_info.xhtml#a4ee7f04c477d0e6a2a3609c24a8815b8">alpha</a>), _beta(<a class="code" href="classarm__compute_1_1_normalization_layer_info.xhtml#a55fe6a30749e41ce31c2bb969a5aa25e">beta</a>), _kappa(<a class="code" href="classarm__compute_1_1_normalization_layer_info.xhtml#a4df91dc0be2437a7d1bfd6d8df72baa8">kappa</a>), _is_scaled(is_scaled)</div><div class="line"><a name="l00884"></a><span class="lineno">  884</span>&#160;    {</div><div class="line"><a name="l00885"></a><span class="lineno">  885</span>&#160;    }</div><div class="ttc" id="classarm__compute_1_1_normalization_layer_info_xhtml_a39f6445d0b790034f0d8fac36f2eb7f5"><div class="ttname"><a href="classarm__compute_1_1_normalization_layer_info.xhtml#a39f6445d0b790034f0d8fac36f2eb7f5">arm_compute::NormalizationLayerInfo::type</a></div><div class="ttdeci">NormType type() const </div><div class="ttdoc">Get the normalization type. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l00887">Types.h:887</a></div></div>
<div class="ttc" id="classarm__compute_1_1_normalization_layer_info_xhtml_a0549be3702c05e6ec1ada69a6d08e349"><div class="ttname"><a href="classarm__compute_1_1_normalization_layer_info.xhtml#a0549be3702c05e6ec1ada69a6d08e349">arm_compute::NormalizationLayerInfo::norm_size</a></div><div class="ttdeci">uint32_t norm_size() const </div><div class="ttdoc">Get the normalization size. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l00892">Types.h:892</a></div></div>
<div class="ttc" id="classarm__compute_1_1_normalization_layer_info_xhtml_a4ee7f04c477d0e6a2a3609c24a8815b8"><div class="ttname"><a href="classarm__compute_1_1_normalization_layer_info.xhtml#a4ee7f04c477d0e6a2a3609c24a8815b8">arm_compute::NormalizationLayerInfo::alpha</a></div><div class="ttdeci">float alpha() const </div><div class="ttdoc">Get the alpha value. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l00897">Types.h:897</a></div></div>
<div class="ttc" id="classarm__compute_1_1_normalization_layer_info_xhtml_a4df91dc0be2437a7d1bfd6d8df72baa8"><div class="ttname"><a href="classarm__compute_1_1_normalization_layer_info.xhtml#a4df91dc0be2437a7d1bfd6d8df72baa8">arm_compute::NormalizationLayerInfo::kappa</a></div><div class="ttdeci">float kappa() const </div><div class="ttdoc">Get the kappa value. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l00907">Types.h:907</a></div></div>
<div class="ttc" id="classarm__compute_1_1_normalization_layer_info_xhtml_a55fe6a30749e41ce31c2bb969a5aa25e"><div class="ttname"><a href="classarm__compute_1_1_normalization_layer_info.xhtml#a55fe6a30749e41ce31c2bb969a5aa25e">arm_compute::NormalizationLayerInfo::beta</a></div><div class="ttdeci">float beta() const </div><div class="ttdoc">Get the beta value. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l00902">Types.h:902</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a4ee7f04c477d0e6a2a3609c24a8815b8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float alpha </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the alpha value. </p>

<p>Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00897">897</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00898"></a><span class="lineno">  898</span>&#160;    {</div><div class="line"><a name="l00899"></a><span class="lineno">  899</span>&#160;        <span class="keywordflow">return</span> _alpha;</div><div class="line"><a name="l00900"></a><span class="lineno">  900</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a55fe6a30749e41ce31c2bb969a5aa25e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float beta </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the beta value. </p>

<p>Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00902">902</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p>

<p>Referenced by <a class="el" href="validation_2reference_2_normalization_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::normalization_layer()</a>.</p>
<div class="fragment"><div class="line"><a name="l00903"></a><span class="lineno">  903</span>&#160;    {</div><div class="line"><a name="l00904"></a><span class="lineno">  904</span>&#160;        <span class="keywordflow">return</span> _beta;</div><div class="line"><a name="l00905"></a><span class="lineno">  905</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="ada140e474f12d6849dae228b32dac8b7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool is_cross_map </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Check if normalization is cross map. </p>

<p>Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00912">912</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p>

<p>References <a class="el" href="namespacearm__compute.xhtml#ad4bb8dabdbf8ad75e34220cc666b59caa980fef040549733973683b1a868f96e5">arm_compute::CROSS_MAP</a>.</p>
<div class="fragment"><div class="line"><a name="l00913"></a><span class="lineno">  913</span>&#160;    {</div><div class="line"><a name="l00914"></a><span class="lineno">  914</span>&#160;        <span class="keywordflow">return</span> _type == <a class="code" href="namespacearm__compute.xhtml#ad4bb8dabdbf8ad75e34220cc666b59caa980fef040549733973683b1a868f96e5">NormType::CROSS_MAP</a>;</div><div class="line"><a name="l00915"></a><span class="lineno">  915</span>&#160;    }</div><div class="ttc" id="namespacearm__compute_xhtml_ad4bb8dabdbf8ad75e34220cc666b59caa980fef040549733973683b1a868f96e5"><div class="ttname"><a href="namespacearm__compute.xhtml#ad4bb8dabdbf8ad75e34220cc666b59caa980fef040549733973683b1a868f96e5">arm_compute::NormType::CROSS_MAP</a></div><div class="ttdoc">Normalization applied cross maps. </div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a15441073dba4931426c1b7730d8bd67b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool is_in_map </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Check if normalization is not cross map. </p>

<p>Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00917">917</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00918"></a><span class="lineno">  918</span>&#160;    {</div><div class="line"><a name="l00919"></a><span class="lineno">  919</span>&#160;        <span class="keywordflow">return</span> !<a class="code" href="classarm__compute_1_1_normalization_layer_info.xhtml#ada140e474f12d6849dae228b32dac8b7">is_cross_map</a>();</div><div class="line"><a name="l00920"></a><span class="lineno">  920</span>&#160;    }</div><div class="ttc" id="classarm__compute_1_1_normalization_layer_info_xhtml_ada140e474f12d6849dae228b32dac8b7"><div class="ttname"><a href="classarm__compute_1_1_normalization_layer_info.xhtml#ada140e474f12d6849dae228b32dac8b7">arm_compute::NormalizationLayerInfo::is_cross_map</a></div><div class="ttdeci">bool is_cross_map() const </div><div class="ttdoc">Check if normalization is cross map. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l00912">Types.h:912</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a4df91dc0be2437a7d1bfd6d8df72baa8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float kappa </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the kappa value. </p>

<p>Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00907">907</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p>

<p>Referenced by <a class="el" href="validation_2reference_2_normalization_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::normalization_layer()</a>.</p>
<div class="fragment"><div class="line"><a name="l00908"></a><span class="lineno">  908</span>&#160;    {</div><div class="line"><a name="l00909"></a><span class="lineno">  909</span>&#160;        <span class="keywordflow">return</span> _kappa;</div><div class="line"><a name="l00910"></a><span class="lineno">  910</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a0549be3702c05e6ec1ada69a6d08e349"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t norm_size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the normalization size. </p>

<p>Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00892">892</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p>

<p>Referenced by <a class="el" href="validation_2reference_2_normalization_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::normalization_layer()</a>, <a class="el" href="utils_2_type_printer_8h_source.xhtml#l00412">arm_compute::operator&lt;&lt;()</a>, and <a class="el" href="utils_2_type_printer_8h_source.xhtml#l00398">arm_compute::to_string()</a>.</p>
<div class="fragment"><div class="line"><a name="l00893"></a><span class="lineno">  893</span>&#160;    {</div><div class="line"><a name="l00894"></a><span class="lineno">  894</span>&#160;        <span class="keywordflow">return</span> _norm_size;</div><div class="line"><a name="l00895"></a><span class="lineno">  895</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a6f541aab23799f6c61d9c8d7ca9fe15c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float scale_coeff </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the scaling factor of the normalization function. </p>
<p>If is_scaled is set to false then [Krichevksy 2012] normalization scaling is performed, where alpha is returned plainly, else alpha is scaled by the total number of elements used for the normalization.</p>
<dl class="section return"><dt>Returns</dt><dd>The normalization scaling factor. </dd></dl>

<p>Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00928">928</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p>

<p>References <a class="el" href="namespacearm__compute.xhtml#ad4bb8dabdbf8ad75e34220cc666b59caa6ff8bd96743aae9fd283cd822b84278e">arm_compute::IN_MAP_2D</a>.</p>

<p>Referenced by <a class="el" href="validation_2reference_2_normalization_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::normalization_layer()</a>.</p>
<div class="fragment"><div class="line"><a name="l00929"></a><span class="lineno">  929</span>&#160;    {</div><div class="line"><a name="l00930"></a><span class="lineno">  930</span>&#160;        <span class="keyword">const</span> uint32_t size = (_type == <a class="code" href="namespacearm__compute.xhtml#ad4bb8dabdbf8ad75e34220cc666b59caa6ff8bd96743aae9fd283cd822b84278e">NormType::IN_MAP_2D</a>) ? _norm_size * _norm_size : _norm_size;</div><div class="line"><a name="l00931"></a><span class="lineno">  931</span>&#160;        <span class="keywordflow">return</span> (_is_scaled) ? (_alpha / size) : _alpha;</div><div class="line"><a name="l00932"></a><span class="lineno">  932</span>&#160;    }</div><div class="ttc" id="namespacearm__compute_xhtml_ad4bb8dabdbf8ad75e34220cc666b59caa6ff8bd96743aae9fd283cd822b84278e"><div class="ttname"><a href="namespacearm__compute.xhtml#ad4bb8dabdbf8ad75e34220cc666b59caa6ff8bd96743aae9fd283cd822b84278e">arm_compute::NormType::IN_MAP_2D</a></div><div class="ttdoc">Normalization applied within the same map in 2D region. </div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a39f6445d0b790034f0d8fac36f2eb7f5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacearm__compute.xhtml#ad4bb8dabdbf8ad75e34220cc666b59ca">NormType</a> type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the normalization type. </p>

<p>Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00887">887</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p>

<p>Referenced by <a class="el" href="validation_2reference_2_normalization_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::normalization_layer()</a>, <a class="el" href="utils_2_type_printer_8h_source.xhtml#l00412">arm_compute::operator&lt;&lt;()</a>, and <a class="el" href="utils_2_type_printer_8h_source.xhtml#l00398">arm_compute::to_string()</a>.</p>
<div class="fragment"><div class="line"><a name="l00888"></a><span class="lineno">  888</span>&#160;    {</div><div class="line"><a name="l00889"></a><span class="lineno">  889</span>&#160;        <span class="keywordflow">return</span> _type;</div><div class="line"><a name="l00890"></a><span class="lineno">  890</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>arm_compute/core/<a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1_normalization_layer_info.xhtml">NormalizationLayerInfo</a></li>
    <li class="footer">Generated on Wed May 23 2018 11:36:43 for Compute Library by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
